package cn.iocoder.yudao.module.product.controller.app.spu.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AppProductPriceReqVO {

    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long productId;

    @Schema(description = "城市编号")
    private Long cityCode;

    @Schema(description = "是否开启隧道转发")
    private boolean tunnelForwarding;

    @Schema(description = "商品属性选择列表")
    private List<PriceProperty> properties;

    @Schema(description = "购买数量", example = "1")
    private Integer count;

    @Data
    public static class PriceProperty {
        private Long id;
        private Long valueId;
        private Integer sort;
    }
}
